<?php

/**
 * Marcas filter form.
 *
 * @package    tercermilenio
 * @subpackage filter
 * @author     Your name here
 */
class MarcasFormFilter extends BaseMarcasFormFilter
{
  public function configure()
  {
  }

    public function setup()
  {
       parent::setup();
    
    $this->setWidgets(array(
      'mar_nombre' => new sfWidgetFormFilterInput(array('with_empty' => false)),
    ));

    $this->setValidators(array(
      'mar_nombre' => new sfValidatorPass(array('required' => false)),
    ));

    $this->widgetSchema->setNameFormat('marcas_filters[%s]');

    $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);

    
  }
}
